//
//  Header.h
//  App_6.23
//
//  Created by wanghao on 16/6/23.
//  Copyright © 2016年 wanghao. All rights reserved.
//

#ifndef Header_h
#define Header_h

#define URLstr @"http://y.bmstorez.com/app.php"
#define USERID @"UserID"
#define NOTIFICATION_TIME_CELL  @"NotificationTimeCell"
#define NOTIFICATION_TIME_FRESH  @"NotificationTimefresh"
//友盟
#define mob_key @"57918446e0f55aa2b2001826"

#define ISLOGIN [[NSUserDefaults standardUserDefaults] objectForKey:@"Login"]
#define WID_ONE [[UIScreen mainScreen] bounds].size.width / 375
#define HEI_ONE [[UIScreen mainScreen] bounds].size.height / 667
#define NSUSERID [[NSUserDefaults standardUserDefaults] objectForKey:USERID]
#define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width
#define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height
#define ARCDOM_4 [UIColor colorWithRed:(arc4random()%256)/255.0 green:(arc4random()%256)/255.0 blue:(arc4random()%256)/255.0 alpha:1.0]
#define PLACEHOLDER_CELL_SAME [UIImage imageNamed:@"placeholder_cell_same.jpg"]

#if DEBUG

#define NSLog(FORMAT, ...) fprintf(stderr,"[%s:%d行] %s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);

#else

#define NSLog(FORMAT, ...) nil

#endif


#import <AFNetworking.h>
#import <Masonry.h>
#import <WSProgressHUD.h>
#import <UIImageView+WebCache.h>
#import <MJRefresh.h>
#import "WH_AppTools.h"
#import "LS_ListDataBase.h"
#import <IQKeyboardManager.h>
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <FBSDKLoginKit/FBSDKLoginKit.h>
#import <FBSDKShareKit/FBSDKShareKit.h>
#import <Reachability.h>
#import <PayPalMobile.h>
#import <UMMobClick/MobClick.h>


#endif /* Header_h */
